package com.cuixichang.minimalism.transfer.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.cuixichang.minimalism.basal.core.BaseVO;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
 * 账户与角色关系表对象实体
 *
 * @author cuixichang
 * @date 2024-12-18
 */

@ApiModel(value = "ILoginRole展示对象" , description = "账户与角色关系表" ,parent = BaseVO.class)
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class ILoginRoleVO extends BaseVO{
    @ApiModelProperty(value = "账号Id", name = "loginId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long loginId;
    @ApiModelProperty(value = "角色id", name = "roleId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long roleId;
}
